projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbd0c8d
)
gtkmain: Release the active state on GDK_GRAB_BROKEN
author
Carlos Garnacho
<carlosg@gnome.org>
Tue, 12 May 2020 08:41:54 +0000
(10:41 +0200)
committer
Carlos Garnacho
<carlosg@gnome.org>
Tue, 12 May 2020 15:39:54 +0000
(17:39 +0200)
This is handled internally here, but misses broken grabs. The active
state should be dropped just as if the button were released.
Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/2665
gtk/gtkmain.c
patch
|
blob
|
history
diff --git
a/gtk/gtkmain.c
b/gtk/gtkmain.c
index b621ed4f40b785c7fdb9aa6d93abd302e5cd0da9..aad1e0b68315090f05ca1f02155041af355a281d 100644
(file)
--- a/
gtk/gtkmain.c
+++ b/
gtk/gtkmain.c
@@
-1621,6
+1621,7
@@
handle_pointing_event (GdkEvent *event)
target = gtk_window_lookup_effective_pointer_focus_widget (toplevel,
device,
sequence);
+ set_widget_active_state (target, TRUE);
break;
default:
g_assert_not_reached ();